-- webview.applescript
-- PrePress

--  Created by Ricardo Simão on 1/25/08.
--  Copyright 2008 __MyCompanyName__. All rights reserved.

on awake from nib theObject
	set method to "stringByEvaluatingJavaScriptFromString:"
	set |script| to "location.href='http://www.sapo.pt'"
	call method method of webView with parameter |script|
end awake from nib
